package com.waimai.constant;

public class DaoConstant {
	// db connection
	public static final String DB_DRIVER = "org.gjt.mm.mysql.Driver";
	public static final String DB_NAME = "mysql:";
	public static final String DB_HOST = "127.0.0.1:";
	public static final String DB_URL = "jdbc:" + DB_NAME + "//" + DB_HOST
			+ "3306/waimai";
	public static final String DB_USER = "root";
	public static final String DB_PWD = "root";

	// 表名
	public static final String USER_TABLE = "user";
	public static final String ADDRESS_TABLE = "address";

	public static final String RESTAURANT_TABLE = "restaurant";
	public static final String RA_RELATIONSHIP_TABLE = "re_ad_relationship";

	// public static final String RESTAURANT_TABLE_2 = "restaurant_2";
	// public static final String RA_RELATIONSHIP_TABLE_2 =
	// "re_ad_relationship_2";

	// 状态 -1是表1,0是表2
	// public static final int TABLE_STATUS_2 = -1;
	// public static final int TABLE_STATUS_1 = 0;
}
